package com.chinacoal.hr.levelimpl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinacoal.hr.levelapi.entity.BizTravel;

import java.util.Map;

/**
 * @author: YunTao.Li
 * @create: 2019-11-19 16:20
 * @description: 出差申请单service接口
 **/
public interface BizTravelService {

    public IPage<BizTravel> getBizTravelList(Map<String, Object> condition) throws Throwable;

    public BizTravel getBizTravelByCondition(Map<String, Object> condition) throws Throwable;

    public Map<String, String> insertBizTravel(BizTravel record);

    public Map<String, String> updateBizTravel(BizTravel record) throws Throwable;

    public Map<String, String> deleteBizTravel(String bizTravelId);

    public Map<String, String> submitBizTravel(BizTravel record) throws Throwable;

    public Map<String, String> drawbackBizTravel(BizTravel record) throws Throwable;

    public Map<String, String> changeBizTravel(BizTravel record) throws Throwable;
}
